﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'PRC_TB_ALERTS_TASKS_PROJECTS_IN')
	BEGIN
		DROP  Procedure  dbo.PRC_TB_ALERTS_TASKS_PROJECTS_IN
	END

GO

CREATE Procedure dbo.PRC_TB_ALERTS_TASKS_PROJECTS_IN
	(
		@TATP_ALERT_TASK_ID int,
		@TATP_PROJECT varchar(80)
	)

AS

insert into TB_ALERTS_TASKS_PROJECTS
(TATP_ALERT_TASK_ID,
TATP_PROJECT)
values
(@TATP_ALERT_TASK_ID,
@TATP_PROJECT)

GO

GRANT EXEC ON dbo.PRC_TB_ALERTS_TASKS_PROJECTS_IN TO PUBLIC

GO

